package com.qiniuyun.backai.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qiniuyun.backai.model.dto.UserDto;
import com.qiniuyun.backai.model.pojo.User;
import org.apache.ibatis.annotations.Insert;

/**
* @author Administrator
* @description 针对表【user(用户表)】的数据库操作Mapper
* @createDate 2025-09-28 14:52:33
* @Entity generator.domain.User
*/
public interface UserMapper extends BaseMapper<User> {
    @Insert("INSERT INTO user (username, password) VALUES (#{username}, #{password})")
    Integer register(UserDto userDto);
}




